<?php

namespace App\Http\Middleware;

use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as BaseVerifier;

class VerifyCsrfToken extends BaseVerifier
{
    /**
     * The URIs that should be excluded from CSRF verification.
     *
     * @var array
     */
    protected $except = [
    //夜读书 部分禁用csrf
    'shuzhai/pubshuzhai',
    'shuzhai/pubshuzhai_pinglun',   //书摘评论保存  
    'shuzhai/dianzan', //书摘点赞
    'tiezi/pubtiezi_pinglun',   //帖子评论保存
    'tiezi/dianzan', //帖子点赞
    'tiezi/pubtiezi',
    'wenzhang/wenzhang_img_upload', //文章上传图片
    'wenzhang/wenzhang_save', //保存文章
    'wenzhang/dianzan', //文章点赞
    'wenzhang/pubwenzhang_pinglun', //文章评论保存
    'yefm/jssdk_sig', //喜马拉雅签名连接
    'api/*', // 夜读书api的接口
    ];
}
